package com.ruoyi.prod.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品基础信息对象 t_prod
 * 
 * @author ruoyi
 * @date 2025-08-02
 */
public class TProd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品唯一标识 */
    private Integer prodId;

    /** 标准化产品单元 */
    @Excel(name = "标准化产品单元")
    private String prodSpu;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private Integer prodKind;

    /** 商品分类 */
    @Excel(name = "商品分类")
    private Integer prodType;

    /** 商品全称 */
    @Excel(name = "商品全称")
    private String prodName;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private Integer brandId;

    /** 计量单位(个/件/套等) */
    @Excel(name = "计量单位(个/件/套等)")
    private String prodUnit;

    /** 商品标签，多个标签用逗号分隔 */
    @Excel(name = "商品标签，多个标签用逗号分隔")
    private String prodTag;

    /** 商品供应商名称 */
    @Excel(name = "商品供应商名称")
    private Integer supplierId;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private Integer prodStatus;

    /** 商品缩略图 */
    @Excel(name = "商品缩略图")
    private String prodImage;

    public void setProdId(Integer prodId) 
    {
        this.prodId = prodId;
    }

    public Integer getProdId() 
    {
        return prodId;
    }

    public void setProdSpu(String prodSpu) 
    {
        this.prodSpu = prodSpu;
    }

    public String getProdSpu() 
    {
        return prodSpu;
    }

    public void setProdKind(Integer prodKind) 
    {
        this.prodKind = prodKind;
    }

    public Integer getProdKind() 
    {
        return prodKind;
    }

    public void setProdType(Integer prodType) 
    {
        this.prodType = prodType;
    }

    public Integer getProdType() 
    {
        return prodType;
    }

    public void setProdName(String prodName) 
    {
        this.prodName = prodName;
    }

    public String getProdName() 
    {
        return prodName;
    }

    public void setBrandId(Integer brandId) 
    {
        this.brandId = brandId;
    }

    public Integer getBrandId() 
    {
        return brandId;
    }

    public void setProdUnit(String prodUnit) 
    {
        this.prodUnit = prodUnit;
    }

    public String getProdUnit() 
    {
        return prodUnit;
    }

    public void setProdTag(String prodTag) 
    {
        this.prodTag = prodTag;
    }

    public String getProdTag() 
    {
        return prodTag;
    }

    public void setSupplierId(Integer supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Integer getSupplierId() 
    {
        return supplierId;
    }

    public void setProdStatus(Integer prodStatus) 
    {
        this.prodStatus = prodStatus;
    }

    public Integer getProdStatus() 
    {
        return prodStatus;
    }

    public void setProdImage(String prodImage) 
    {
        this.prodImage = prodImage;
    }

    public String getProdImage() 
    {
        return prodImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prodId", getProdId())
            .append("prodSpu", getProdSpu())
            .append("prodKind", getProdKind())
            .append("prodType", getProdType())
            .append("prodName", getProdName())
            .append("brandId", getBrandId())
            .append("createTime", getCreateTime())
            .append("prodUnit", getProdUnit())
            .append("prodTag", getProdTag())
            .append("supplierId", getSupplierId())
            .append("prodStatus", getProdStatus())
            .append("prodImage", getProdImage())
            .toString();
    }
}
